package app.socket.client;

public class TestThread extends Thread {

	public void run() {
		System.out.println(Thread.currentThread().getName() + "1 - run start.");

		for (int i = 1; i < 1000000000; i++) {

		}
		System.out.println(Thread.currentThread().getName() + "2 - run end.");
	}

	public static void main(String[] args) {
		TestThread a = new TestThread();
		TestThread b = new TestThread();
		a.start();
		b.start();

		System.out.println("0 - 开始。");
		for (int i = 1; i < 1000000; i++) {

		}
		System.out.println("3 - 结束。");
	}

}
